import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";//状态机  仓库文件

//引入重置样式
import "@/assets/css/normalize.css"
import "@/assets/css/reset.css"

//引入vant-ui
import 'vant/lib/index.css';
import { Tab, Tabs, Sidebar, SidebarItem, Rate, Icon, Divider, Popup } from 'vant';

Vue.use(Tab).use(Tabs).use(Sidebar).use(SidebarItem).use(Rate).use(Icon).use(Divider).use(Popup);//基于vue的需要use，不是基于vue的就不用

Vue.prototype.$bus = new Vue();//在最大的Vue上挂载

Vue.config.productionTip = false;//关闭vue的通用警告

new Vue({
  router,//路由文件
  store,//仓库文件
  render: (h) => h(App),
}).$mount("#app");
